# -*- encoding: utf-8 -*-
import os
import sys
from dbutils import DBUtils


if __name__ == "__main__":
    '''操作数据库不一定用python啊，有点不太方便，'''
    mysql = DBUtils(host="120.79.73.104", user="root", password="WZXYwzxy1234.", database="mudiao_test1")

    sql = "select * from md_panels"
    aa = mysql.select1(sql=sql, args="")
    print aa
    for bb in aa:
        print bb
